<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    {% block title %}
    <title>Title</title>
    {% endblock %}
</head>
<body>
    <h1>头部文件</h1>
    {% block content %}
    <p>index内容</p>
    {% endblock %}
    <h1>尾部文件</h1>
</body>
</html>